package org.shuma.supplier.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @author :Wjh
 * @since :2024/6/17 下午4:47
 */

/**
 * 添加供应商所需
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SupplierDTO {
    @NotEmpty(message = "供应商名称不能为空")
    private String supplierName;

    @NotEmpty(message = "供应商电话不能为空")
    private String supplierPhone;
}
